#ifndef __POLICY_BUFFER_H__
#define __POLICY_BUFFER_H__

void free_whitelist(void);

int policy_module_init(void);

void policy_module_destroy(void);

int pm_check_fs_integrity(struct file * fp);
int read_whitelist(const char * filename, const int max_number, int size);

int alg_file_digest (struct file *fp,unsigned char xh_digest[DIGEST_SIZE]);

void * appbsearch(const void *key, const void * base, size_t nmemb, size_t size,
		int (*compar)(const void *, const void *)); 
#endif
